home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / huds / dmhud.hdl < prev    next >
Encoding:
Text File  |  1999-02-24  |  7.5 KB  |  189 lines

  1. // *******************************************************************************
  2. // SIN HUD Layout - DM Design - Low Res Version
  3. //
  4. // Custom HUD for the DM player who wants minimal screen overlap
  5. // *******************************************************************************
  6. //
  7.  
  8. //###
  9. // put this here so that it wouldn't draw over other stuff
  10.  
  11. // night vision color overlay
  12. if 15
  13. //  fc 1 1 1 0.25
  14. //  cbt nightvision
  15.  
  16. // screen blend
  17.   xl 0 yb 0 fill 0.1 1 0.1 0.075  screenwidth screenheight
  18.  
  19. // dark view frame
  20. //  xl 0 yt -60 fill 0 0 0 0.3  screenwidth 60
  21. //  xl 0 yb 0 fill 0 0 0 0.3  screenwidth 60
  22.  
  23. // top lines
  24.   xv -80 yv 45 fill 0.1 0.75 0.1  0.2  160 2
  25.   xv -75 yv 48 fill 0.1 0.75 0.1  0.12  150 1
  26.  
  27. // bottom lines
  28.   xv -80 yv -47 fill 0.1 0.75 0.1  0.2  160 2
  29.   xv -75 yv -49 fill 0.1 0.75 0.1  0.12  150 1
  30.  
  31. // right bracket
  32.   xv -110 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  33.   xv -108 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  34.   xv -108 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  35.   xv -112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  36.  
  37. // left bracket
  38.   xv 109 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  39.   xv 84 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  40.   xv 84 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  41.   xv 112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  42.  
  43.   fc 0.2 1 0.2 0.25
  44.   jcx yb 50 string "Therm-Optics Engaged"
  45.   // range to target number
  46.   xv 10 yv -10 rangenum
  47.   fc 1 1 1 1
  48.  
  49. endif
  50. //###
  51.  
  52. // -------------------------------------------------------------------------------
  53. // Health and Armor status bars
  54. // Must be displayed before image ovelay is displayed
  55. xr -49 yb 0 hbar 3 48                     // Health status bar line
  56. xr -6  yb 0 rbar 3 48                     // Armor status bar line  
  57.  
  58. // Body Armor Damage Display
  59. //
  60. // Powerup1 = Reactive Shields or Invulnerability
  61. // Powerup2 = Adrenaline
  62. // Powerup3 = Photon Optic Displacement Device or Invisibility
  63. // Powerup4 = Mutagen Transformation
  64. //
  65. ifpowerup 1             // Shields Display 
  66.   xr -50 yb 0  picn low_res/hud_body_01      // Body Image - Overall Damage indicator
  67.   xr -28 yb 48 smnum 28                      // Time display of the shield powerup on Chest
  68.   xr -46 yb 39 smnum 20                      // Head Armor Amount 
  69.   xr -46 yb 28 smnum 21                      // Chest Armor Amount
  70.   xr -46 yb 11 smnum 22                      // Leg Armor Amount
  71.   xr -45 yb 0  arbar 20 17 47                // All numbers overlay area
  72. ifpowerup 1             // Adrenaline Display 
  73.   xr -50 yb 0  picn low_res/hud_body_01      // Body Image - Overall Damage indicator
  74.   xr -28 yb 48 smnum 28                      // Time display of the shield powerup on Chest
  75.   xr -46 yb 39 smnum 20                      // Head Armor Amount 
  76.   xr -46 yb 28 smnum 21                      // Chest Armor Amount
  77.   xr -46 yb 11 smnum 22                      // Leg Armor Amount
  78.   xr -45 yb 0  arbar 20 17 47                // All numbers overlay area
  79. ifpowerup 1             // Cloak Display 
  80.   xr -50 yb 0  picn low_res/hud_body_01      // Body Image - Overall Damage indicator
  81.   xr -28 yb 48 smnum 28                      // Time display of the shield powerup on Chest
  82.   xr -46 yb 39 smnum 20                      // Head Armor Amount 
  83.   xr -46 yb 28 smnum 21                      // Chest Armor Amount
  84.   xr -46 yb 11 smnum 22                      // Leg Armor Amount
  85.   xr -45 yb 0  arbar 20 17 47                // All numbers overlay area
  86. ifpowerup 4             // Mutagen Display 
  87.   xr -50 yb 0  picn low_res/hud_body_01      // Body Image - Overall Damage indicator
  88.   xr -28 yb 48 smnum 28                      // Time display of the shield powerup on Chest
  89.   xr -46 yb 39 smnum 20                      // Head Armor Amount 
  90.   xr -46 yb 28 smnum 21                      // Chest Armor Amount
  91.   xr -46 yb 11 smnum 22                      // Leg Armor Amount
  92.   xr -45 yb 0  arbar 20 17 47                // All numbers overlay area
  93. else                    //Normal Display
  94.   xr -50 yb 0  picn low_res/hud_body_01      // Body Image - Overall Damage indicator
  95.   xr -46 yb 39 smnum 20                      // Head Armor Amount 
  96.   xr -46 yb 28 smnum 21                      // Chest Armor Amount
  97.   xr -46 yb 11 smnum 22                      // Leg Armor Amount
  98.   xr -45 yb 41 arbar 20 28.5 6               // Head overlay area
  99.   xr -45 yb 29 arbar 21 28.5 12              // Chest overlay area
  100.   xr -45 yb 0  arbar 22 28.5 29              // Leg overlay area
  101. endif
  102.  
  103. xr -84 yb 0 pickarmor up                 // Display area when you pick up item
  104.  
  105. // -------------------------------------------------------------------------------
  106. // Health title & current count
  107. xl 2  yb 0  fill 0 0 0 0.66 96 23        // Background fill for Titles 
  108. xl 2  yb 10 fill 1 1 1 1 96 2            // Title dividing line
  109. fc 0 0.3 0.8 1
  110. xl 2  yb 2  string HEALTH:               // Title - HEALTH
  111. fc 1 1 1 1
  112. xl 60   yb 2 smnum 0                     // Health Amount  
  113. xr -118 yb 0 pickhealth up               // Display area when you pick up health
  114.  
  115. // Ammo Title & current count
  116. fc 0 0.3 0.8 1
  117. xl 2  yb 13 string AMMO:                 // Title - AMMO
  118. fc 1 1 1 1
  119. xl 44 yb 13 smnum 2                      // Ammo Amount
  120.  
  121. // Current weapon
  122. xl 2 yb 24 pic 25                        // Shows display of current weapon
  123. xl 3 yb 26 clipammo                      // Clip Ammo
  124. xl 2 yb 58 pickweap up                   // Display area when you pick up item
  125.  
  126. // -------------------------------------------------------------------------------
  127. // Items title & current inv item
  128. xl 2  yt -27 fill 0 0 0 0.66 64 11       // Background fill for area 
  129. fc 0 0.3 0.8 1
  130. xl 2  yt -25 string ITEMS:               // Title - ITEMS
  131. fc 1 1 1 1
  132. xl 50 yt -25 smnum 4                     // Item Amount
  133. xl 2  yt -60 fill 0 0 0 0.66 32 32       // Background fill for area 
  134. xl 36 yt -60 pickitem right              // Display area when you pick up item 
  135.  
  136. // Current inv item
  137. if 3
  138.   xl 2 yt -76 pic 3                      // Shows display of current INV item
  139. endif
  140.  
  141. // Floating inventory
  142. xv -32 yv -100 drawinv                   // Display for items on bodies that you can pick up 
  143.  
  144. // -------------------------------------------------------------------------------
  145. ifdm
  146.   xr -104 yt -43 fill 0 0 0 0.66 102 11   // Background fill for DM Score 
  147.   fc 0 0.3 0.8 1
  148.   xr -102 yt -41 string FRAGS:            // Title - DM SCORE
  149.   fc 1 1 1 1
  150.   xr -30  yt -41 smnum 10                 // Current score during DM play - Top
  151. endif
  152.  
  153. // -------------------------------------------------------------------------------
  154. //###
  155.  
  156. ifcp // do this if there are checkpoints
  157.   xr -125    yt -25    string "Fastest:"
  158.   xr -60    yt -25     fastestlap
  159.   xr -125    yt -35     string "   Last:"
  160.   xr -60    yt -35     lapnum 12
  161.   xr -125    yt -45    string "Current:"
  162.   xr -60    yt -45    lapnum 13
  163.   xr -125    yt -55    string " # CP's:"
  164.   xr -60    yt -55    smnum 14
  165. endif
  166.  
  167. //###
  168.  
  169. // -------------------------------------------------------------------------------
  170. // Draw game messages - One's issued from the game to the player.
  171. // These lines are displayed at the top left portion of the screen.
  172. //
  173. fc 1 1 1 1
  174. xl 0 yt -8 drawnotify 2
  175.  
  176. // Draw player messages - One's typed in from messagemode to other players.
  177. // This one is displayed in the open area in the middle of the HUD layout.
  178. //
  179. xl 100 yb 4 drawmessage 21 
  180.  
  181. // -------------------------------------------------------------------------------
  182. // See if we should draw the exit sign
  183. //
  184. if 31
  185.   jcx yt -80 anim 8 exitsign_
  186. endif
  187.  
  188. // -------------------------------------------------------------------------------
  189.